home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Applications / MacGS 2.5.2ß3 / (MacGSLib.π) / macPrint.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-17  |  1.5 KB  |  51 lines  |  [TEXT/R*ch]

  1. #ifndef H_macPrint
  2. #define H_macPrint
  3.  
  4. /* Copyright (C) 1993 Aladdin Enterprises.  All rights reserved.
  5.    Distributed by Free Software Foundation, Inc.
  6.  
  7. This file is part of Ghostscript.
  8.  
  9. Ghostscript is distributed in the hope that it will be useful, but
  10. WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  11. to anyone for the consequences of using it or for whether it serves any
  12. particular purpose or works at all, unless he says so in writing.  Refer
  13. to the Ghostscript General Public License for full details.
  14.  
  15. Everyone is granted permission to copy, modify and redistribute
  16. Ghostscript, but only under the conditions described in the Ghostscript
  17. General Public License.  A copy of this license is supposed to have been
  18. given to you along with Ghostscript so you can know your rights and
  19. responsibilities.  It should be in a file named COPYING.  Among other
  20. things, the copyright notice and this notice must be preserved on all
  21. copies.  */
  22.  
  23.  
  24. #ifndef lint
  25. static char macPrint_h_rcs_id[] = "$Header:$";
  26. #endif /* lint */
  27.  
  28. #include <PrintTraps.h>
  29.  
  30.  
  31. typedef Boolean (*PrintProcPtr) (short iAction, ...);
  32.  
  33. enum PrintProcConsts
  34. {
  35.     iDoInitPrintDoc,
  36.     iDoCheckThisPage,
  37.     iDoPrintThisPage,
  38.  
  39.     __iLastPrintProcConst__
  40. };
  41.  
  42.  
  43. OSErr    MacGetRslData (TGetRslBlk *pGetRslBlk);
  44. OSErr    MacSetRslData (short iXRsl, short iYRsl);
  45. void    MacDoPrStyleDlg (void);
  46. void    MacPrintOnePage (PicHandle hPict, Rect *pRect);
  47. void    MacGetPrintRect (short iXRsl, short iYRsl, Rect *pRect);
  48. void    MacPrintPages (short iXRsl, short iYRsl, PrintProcPtr pPrintProc);
  49.  
  50. #endif /* H_macPrint */
  51.